<html>
<head><meta charset="utf-8"><title>finding all uses of an item in a crate · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20all.20uses.20of.20an.20item.20in.20a.20crate.html">finding all uses of an item in a crate</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213941137"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20all%20uses%20of%20an%20item%20in%20a%20crate/near/213941137" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> ember arlynx <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20all.20uses.20of.20an.20item.20in.20a.20crate.html#213941137">(Oct 20 2020 at 16:05)</a>:</h4>
<p>i'm writing a clippy lint and want to check that the enclosing module of all uses of a certain item <code>W</code> has some property. "all uses" can mean a lot of things though. does rustc already have this sort of query?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>